{% include 'header' %}

import UIKit

final class {{ prefix }}{{ module_info.name }}ViewController: UIViewController {
    
    let viewModel: {{ prefix }}{{ module_info.name }}ViewModel
    
    // MARK: - Lifecycle
    
    init(viewModel: {{ prefix }}{{ module_info.name }}ViewModel) {
        self.viewModel = viewModel
        super.init(nibName: nil, bundle: nil)
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        viewModel.didTriggerViewReadyEvent()
    }
}
